how to do concatenation and append with pandas